<ul>
<?php echo $menu=='home'?'<li class="active">':'<li>'; ?>
<a class="" href="<?php echo $menu=='home'?'#':base_url().'home'; ?>"><i class="<?php echo $menu=='home'?'icon-ok':'icon-home'; ?>"></i>Dashboard<?php echo $menu=='home'?'<span class="selected"></span>':''; ?></a></li>
<?php echo $menu=='siswa'?'<li class="active">':'<li>'; ?><a class="" href="<?php echo $menu=='siswa'?'#':base_url().'siswa'; ?>"><i class="<?php echo $menu=='siswa'?'icon-ok':'icon-user'; ?>"></i>Siswa<?php echo $menu=='siswa'?'<span class="selected"></span>':''; ?></a></li>
<?php echo $menu=='kelas'?'<li class="active">':'<li>'; ?><a class="" href="<?php echo $menu=='kelas'?'#':base_url().'kelas'; ?>"><i class="<?php echo $menu=='kelas'?'icon-ok':'icon-bar-chart'; ?>"></i>Kelas<?php echo $menu=='kelas'?'<span class="selected"></span>':''; ?></a></li>
<?php echo $menu=='matapelajaran'?'<li class="active">':'<li>'; ?><a class="" href="<?php echo $menu=='matapelajaran'?'#':base_url().'mata_pelajaran'; ?>"><i class="<?php echo $menu=='matapelajaran'?'icon-ok':'icon-bar-chart'; ?>"></i>Mata Pelajaran<?php echo $menu=='matapelajaran'?'<span class="selected"></span>':''; ?></a></li>
<?php echo $menu=='soal'?'<li class="active">':'<li>'; ?><a class="" href="<?php echo $menu=='soal'?'#':base_url().'soal'; ?>"><i class="<?php echo $menu=='soal'?'icon-ok':'icon-briefcase'; ?>"></i>Soal<?php echo $menu=='soal'?'<span class="selected"></span>':''; ?></a></li>
<?php echo $menu=='ujian'?'<li class="active">':'<li>'; ?><a class="" href="<?php echo $menu=='ujian'?'#':base_url().'ujian'; ?>"><i class="<?php echo $menu=='ujian'?'icon-ok':'icon-bar-chart'; ?>"></i>Ujian<?php echo $menu=='ujian'?'<span class="selected"></span>':''; ?></a></li>
<?php echo $menu=='laporan'?'<li class="active">':'<li>'; ?><a class="" href="<?php echo $menu=='laporan'?'#':base_url().'laporan'; ?>"><i class="<?php echo $menu=='laporan'?'icon-ok':'icon-bar-chart'; ?>"></i>Laporan<?php echo $menu=='laporan'?'<span class="selected"></span>':''; ?></a></li>
</ul>